#pragma once

#include "xmlchild.h"

class XmlElement : public XmlChild{
private:
	vector<XmlChild*> childElem;
public:
	void Output(wostream &out, int iIndent);

	bool AddElement(XmlChild* aChildElem);

	bool DelElement(XmlChild* aChildElem);

	vector<XmlChild*>* GetChildElement();

	XmlChild* GetChildElementByAttr(wstring strAttrName, wstring strAttrValue);
	// Destruction~
	virtual ~XmlElement();

};
